package main

import (
	"github.com/gin-gonic/gin"
	"live-broadcast_07_22/api"
	"live-broadcast_07_22/config"
	"live-broadcast_07_22/inits"
)

func main() {
	router := gin.Default()

	config.Init()
	inits.InitMysql()
	inits.InitRedis()

	api.LoadRouter(router)

	router.Run(": 8067") // 监听并在 0.0.0.0:8080 上启动服务
}
